package com.example.service;

import com.example.pojo.Content;
import com.example.pojo.ContentCategory;

import java.util.List;

public interface ContentService {
    List<Content> queryAll();

    List<ContentCategory> queryAllContentCategory();

    int saveOrUpdate(Content content);

    int deleteById(Long id);

    List<Content> queryContentByCategoryId(Long categoryId);
}
